﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExcelUtilities.Data
{
    /// <summary>
    /// 工作表数据
    /// </summary>
    public class WorksheetData
    {
        /// <summary>
        /// 工作表名
        /// </summary>
        public string Name { get; set; }

        TableDataSet _tableDatas = new TableDataSet();
        /// <summary>
        /// 数据表集合
        /// </summary>
        public TableDataSet TableDatas
        {
            get
            {
                return _tableDatas;
            }
            set
            {
                _tableDatas = value;
            }
        }

        IDictionary<string, CellValue> _cellDatas = new Dictionary<string, CellValue>();
        /// <summary>
        /// 单元格数据集
        /// </summary>
        public IDictionary<string, CellValue> CellDatas
        {
            get
            {
                return _cellDatas;
            }
            set
            {
                _cellDatas = value;
            }
        }
    }
}